﻿<Window x:Class="GeneralSettingsWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Co9320="clr-namespace:Co9320"
        Icon="../Icons/application.ico"
        Title="設定" SizeToContent="Height" WindowStartupLocation="CenterOwner" 
        Width="440"
        ResizeMode="NoResize" ShowInTaskbar="False">

    <Window.BindingGroup>
        <BindingGroup />
    </Window.BindingGroup>

    <Window.CommandBindings>
        <!--<CommandBinding Command="{x:Static Co9320:AlertSettingsWindow.SendMailCommand}" Executed="SendMailCommandBinding_Executed" CanExecute="SendMailCommandBinding_CanExecute" />
        <CommandBinding Command="{x:Static Co9320:AlertSettingsWindow.PlaySoundCommand}" Executed="PlaySoundCommandBinding_Executed" CanExecute="PlaySoundCommandBinding_CanExecute" />-->
    </Window.CommandBindings>
    
    <Window.DataContext>
        <Co9320:GeneralSettings />
    </Window.DataContext>
    

    <Window.Resources>
    </Window.Resources>


    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>
        <TabControl>
            <TabItem Header="全般">
                <Grid >
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition />
                    </Grid.RowDefinitions>

                    <CheckBox Margin="5" IsEnabled="False" IsChecked="{Binding Path=LaunchOnStartup}" VerticalAlignment="Center">Windows へのログイン時に起動する</CheckBox>
                    <StackPanel Grid.Row="1" IsEnabled="False">
                        <CheckBox Margin="5" VerticalAlignment="Center">お知らせ機能を有効にする</CheckBox>
                        <TextBlock Text="（更新情報を含む）" Margin="15 0 0 0" />
                    </StackPanel>

                </Grid>

            </TabItem>

        </TabControl>
        <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="0 5 5 5" VerticalAlignment="Bottom" HorizontalAlignment="Right">
            <Button Content="OK" Width="80" Height="28" Margin="5 0" IsDefault="True" Click="OkButton_Click" />
            <Button Content="キャンセル" Width="80" Height="28" IsCancel="True" Click="CancelButton_Click" />
        </StackPanel>

    </Grid>
</Window>
